#include <iostream>
using namespace std;
class p
{
public:
    string name;
    int age;
    p(string name,int age){
        this->age=age;
        this->name=name;
    }
    void operator()(){
        cout<<"名字:"<<this->name<<endl;
        cout<<"年龄:"<<this->age<<endl;
    }
};
int main()
{
    p p1("张三",19);
    p1();
    return 0;
}